﻿@model VehicleManagement.Models.CarInsure

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script type="text/javascript">
    $(function () {
        $.post("/CarInfo/GetCarNumberList", {},
            function (data) {
                $("#CarNumber").empty();
                $.each(data, function () {
                    $("#CarNumber").append('<option>' + this + '</option>');
                });
            });
    });
</script>
<div class="mas">
<div class="toptitle">
   司机负责人管理平台
</div>
@*<div class="car"></div>*@
@Html.Partial("_PartviewDriverManager")
<div class="rightshow">

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
        <fieldset>
        <legend></legend>
       <div class="box">
       

        <div class="box-detail-nopic-create" >
                <div class="span-title"><span>汽车保险信息录入</span></div>
          <div class ="box-detail3 detail1-no2">
          <div class ="box-detail3-wrap detail1-no2">

            <div class="box-detail1-linetype1">
                 <span class="labeldisplay">@Html.LabelFor(model => model.CarNumber):</span>
                @Html.DropDownListFor(model => model.CarNumber, new SelectList(new[] { "车牌号" }, "车牌号"))
            </div>   
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.BegDate):</span>
                @Html.EditorFor(model => model.BegDate)@Html.ValidationMessageFor(model => model.BegDate)             
            </div>
            <div class="box-detail1-linetype1">
               <span class="labeldisplay">@Html.LabelFor(model => model.EndDate):</span>
                @Html.EditorFor(model => model.EndDate)@Html.ValidationMessageFor(model => model.EndDate)         
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.InsureAgent):</span>
                @Html.EditorFor(model => model.InsureAgent)@Html.ValidationMessageFor(model => model.InsureAgent)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.InsureCom):</span>
                @Html.EditorFor(model => model.InsureCom)@Html.ValidationMessageFor(model => model.InsureCom)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.InsureDate):</span>
                @Html.EditorFor(model => model.InsureDate)@Html.ValidationMessageFor(model => model.InsureDate)
            </div>   
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.Insuretype):</span>
                @Html.EditorFor(model => model.Insuretype)@Html.ValidationMessageFor(model => model.Insuretype)           
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.InvoiceNo):</span>
                @Html.EditorFor(model => model.InvoiceNo)@Html.ValidationMessageFor(model => model.InvoiceNo)
            </div>
            <div class="box-detail1-linetype1">
                <span class="labeldisplay">@Html.LabelFor(model => model.Remark):</span>
                @Html.TextAreaFor(model => model.Remark)
            </div>
           </div>
           

           </div>
           <div class="button-wrap button-wrap-table">
                <input class="button-add" type="submit" value="添 加" />
                <input class="button-back" type="button" value="取 消" />  
           </div> 
        </div>
    </div>

    </fieldset>
}
</div>

<div class="clear"></div>
	
</div>

